AutoXChange 2007 XML Reference Tailor Made Software  
Change Insert Color

The following allows the user to change the color for the insert. A new copy of the block definition will be created with all entities defined with color "ByBlock". This will force all of the entities to have the color defined here. If the color is defined as "ByBlock" then it will have the color of the block that contains the insert (or Black/White if this is a top level insert (an insert that is not inside another insert).

XML Syntax

<BlockRef>
    <Name>lote</Name>
    <Handle>D5</Handle>
    <Color>6</Color>
</BlockRef>

XML Specifics

 Name  This is the name of the Block Definition. This is actually optional, but makes the file easier to read.
 Handle  This is the AutoCAD Entity Handle. It defines the specific Block Reference (Insert) being modified.
 Color  This is the color to change to.



 
Copyright © 2006 Tailor Made Software, Ltd